<%-- 
    Document   : contacta
    Created on : 27-jun-2013, 13:51:37
    Author     : davidcabrera
--%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="es">
    <head>
        <title>Contacta</title>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" media="screen" href="css/reset.css">
        <link rel="stylesheet" type="text/css" media="screen" href="css/style.css">
        <link rel="stylesheet" type="text/css" media="screen" href="css/grid_12.css">
        <script src="js/jquery-1.7.min.js"></script>
        <script src="js/jquery.easing.1.3.js"></script>
        <script src="js/cufon-yui.js"></script>
        <script src="js/Asap_400.font.js"></script>
        <script src="js/Coolvetica_400.font.js"></script>
        <script src="js/Kozuka_M_500.font.js"></script>
        <script src="js/cufon-replace.js"></script>
        <script src="js/FF-cash.js"></script>

    </head>
    <body>
        <div class="main">
            <div class="bg-img"></div>
            <!--==============================header=================================-->
              <header>
                <h1><a href="index.jsp">Sport <strong>Club</strong></a></h1>

                <div style="margin-top: 30px; margin-left: 750px">        

                </div> 
                <div >
                    
                <logic:empty name="usuario" scope="session">
                        <html:form action="/login" >
                            <div>
                            <table border="0" class="login-form">
                                <tbody>
                                    <tr>
                                        <td><strong>Email:</strong></td>
                                        <td><html:text property="email" name="LoginForm" style="text-align:right"/></td>
                                    </tr>
                                    <tr>
                                        <td><strong>Clave:</strong></td>
                                        <td><html:password property="pass" name="LoginForm" style="text-align:right"/></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" class="button" style="text-align:right;"><html:submit value="Login"/></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="text-align:right"><a href="registro.jsp" class="color-1">¡Registrate!</a></td>
                                    </tr>

                                </tbody>
                            </table>
                                    </div>
                        </html:form>
                    </logic:empty>
                        
                        <logic:notEmpty name="usuario" scope="session">
                            <div style="text-align: right" >
                            Bienvenido, <strong><a class="link" href="cuenta.do"><bean:write name="usuario" property="nombre"/></a></strong>

                            <br/>
                            <a class="link" href="unlogin.do" >Desconectar</a>
                            </div>
                        </logic:notEmpty>
                    
                </div>


                <nav style="clear: both">
                    
                    <ul class="menu">
                        <li><a href="index.jsp">Principal</a></li>
                        <li><a href="instalaciones.do">Instalaciones</a></li>
                        <li><a href="galeria.jsp">Galeria</a></li>
                        <li class="current"><a href="contacta.jsp">Contacta</a></li>
                    </ul>
                </nav>
            </header>   
            <!--==============================content================================-->
            <section id="content">
                <div class="container_12">
                    <div class="grid_12">
                        <div class="box-shadow">
                            <div class="wrap block-2">
                                <div class="col-3">
                                    <h2><span class="color-1">Encuentranos</span></h2>
                                    <div class="map img-border">
                                        <iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.es/maps?ie=UTF8&amp;cid=4054303737528613912&amp;q=Cartuja+Sport&amp;gl=ES&amp;hl=es&amp;t=h&amp;ll=37.410664,-5.999544&amp;spn=0.005113,0.006437&amp;z=16&amp;output=embed"></iframe><br />
                                        <small><a class="color-1" href="https://maps.google.es/maps?ie=UTF8&amp;cid=4054303737528613912&amp;q=Cartuja+Sport&amp;gl=ES&amp;hl=es&amp;t=h&amp;ll=37.410664,-5.999544&amp;spn=0.005113,0.006437&amp;z=16&amp;source=embed" >Ver mapa más grande</a></small>
                                    </div>

                                    <dl>
                                        <dt class="color-1"><strong>Av Enríquez de Ribera, 3<br>41092 Sevilla‎</strong></dt>
                                        <div>
                                            <a class="color-1" href="//www.google.com/url?sa=D&amp;oi=plus&amp;q=https://maps.google.es/maps?ie%3DUTF8%26f%3Dd%26daddr%3DCartuja%2BSport,%2BAv%2BEnr%25C3%25ADquez%2Bde%2BRibera,%2B3,%2B41092%2BSevilla%26geocode%3DCQ-27f7NQJ88FW7XOgIdRnSk_yEYfO7GxMdDOA%26gl%3DES%26hl%3Des" target="_blank" class="a-n Uxa cf3rA" tabindex="0" action-type="58">Cómo llegar</a>
                                        </div>
                                        <dd><span>Teléfono:</span>954 46 30 00</dd>
                                        <dd>E-Mail: <a href="mailto:sportclubit@gmail.com" class="link">sportclubit@gmail.com</a></dd>
                                    </dl>
                                </div>
                                <div class="col-4">
                                    <h2>Envianos tu <span class="color-1">sugerencia</span></h2>
                                    <html:errors/>
                                    <html:form action="/sugerir" styleId="form" >
                                        <fieldset>
                                            <label><html:text value="Nombre"  property="nombre" onblur="if(this.value=='') this.value='Nombre'" onfocus="if(this.value =='Nombre' ) this.value=''" /></label>
                                            <label><html:text value="Email"  property="email" onblur="if(this.value=='') this.value='Email'" onfocus="if(this.value =='Email' ) this.value=''" /></label>
                                            <label><html:textarea value="Comentario" onblur="if(this.value=='') this.value='Comentario'" onfocus="if(this.value =='Comentario' ) this.value=''" property="descripcion" /></label>
                                            <div class="btns">
                                                <a href="#" class="button" onClick="document.getElementById('form').submit()">Enviar</a>
                                                <a href="#" class="button" onClick="document.getElementById('form').reset()">Borrar</a>
                                            </div>
                                        </fieldset>  
                                    </html:form>
                                    <!--
                                    <form id="form" method="post" >
                                        <fieldset>
                                            <label><input type="text" value="Name" onBlur="if(this.value=='') this.value='Name'" onFocus="if(this.value =='Name' ) this.value=''"></label>
                                            <label><input type="text" value="Email" onBlur="if(this.value=='') this.value='Email'" onFocus="if(this.value =='Email' ) this.value=''"></label>
                                            <label><textarea onBlur="if(this.value==''){this.value='Message'}" onFocus="if(this.value=='Message'){this.value=''}">Message</textarea></label>
                                            <div class="btns"><a href="#" class="button">Clear</a><a href="#" class="button" onClick="document.getElementById('form').submit()">Send</a></div>
                                        </fieldset>  
                                    </form> 
                                    -->
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
            </section> 
            <!--==============================footer=================================-->
        </div>
        <%@include file="footer.jsp" %>
    </body>
</html>
